<template>
	<u-popup v-model="contactShow" mode="center" @close='close'>
		<view class="diy-gem-contact">
		
		</view>
	</u-popup>
</template>

<script>
	export default {
		data() {
			return {
				// 弹窗打开
				contactShow: false,
			}
		},
		props: {
			show: {
				type: [String, Boolean],
				default: false
			},
		},
		watch: {
			show: {
				handler(newval, oldVal) {
					this.contactShow = this.show;
				},
				immediate: true
			}
		},
		mounted() {},
		methods: {
			// 弹窗关闭
			close() {
				this.$emit('close')
			},
		}
	}
</script>

<style lang="scss" scoped>
	.diy-gem-contact {
		height: 34vh;
		width: 70vw;
		background: #fff;
		border-radius: 20rpx;
		overflow: hidden;
		padding: 30rpx;
		.title{
			font-size: 32rpx;
			font-weight: bold;
			text-align: center;
			margin-bottom: 50rpx;
		}
		.item{
			height: 80rpx;
			border-radius: 8rpx;
			border: 1rpx solid rgba(0,0,0,.2);
			display: flex;
			align-items: center;
			justify-content: space-between;
			margin-bottom: 30rpx;
			padding: 20rpx 30rpx;
			image{
				width: 30rpx;
			}
		}
		.tips{
			text-align: center;
			font-size: 28rpx;
			color: rgba(0,0,0,.4);
			margin-top: 50rpx;
			text{
				margin-right: 10rpx;
			}
		}
	}
</style>